Eclipse Platform
Pre-release 3.0

Uses of Class
org.eclipse.jface.text.source.Annotation

Packages that use Annotation
org.eclipse.jface.text.source Provides a framework for connecting document regions with annotations and for displaying those annotations in combination with an ITextViewer
org.eclipse.ui.texteditor Provides a framework for text editors obeying to the desktop rules. 
 

Uses of Annotation in org.eclipse.jface.text.source
 

Subclasses of Annotation in org.eclipse.jface.text.source
 class ProjectionAnnotation
          Annotation used to represent the projection of a master document onto a ProjectionDocument.
 

Methods in org.eclipse.jface.text.source that return Annotation
 Annotation[] AnnotationModelEvent.getAddedAnnotations()
          Returns the added annotations.
 Annotation[] AnnotationModelEvent.getRemovedAnnotations()
          Returns the removed annotations.
 Annotation[] AnnotationModelEvent.getChangedAnnotations()
          Returns the changed annotations.
 

Methods in org.eclipse.jface.text.source with parameters of type Annotation
 void SourceViewer.setRangeIndicator(Annotation rangeIndicator)
           
 void ISourceViewer.setRangeIndicator(Annotation rangeIndicator)
          Sets the annotation used by this viewer as range indicator.
 void IAnnotationModelExtension.replaceAnnotations(Annotation[] annotationsToRemove, Map annotationsToAdd)
          Replaces annotations with new annotations for this annotation model.
 void IAnnotationModel.addAnnotation(Annotation annotation, Position position)
          Adds a annotation to this annotation model.
 void IAnnotationModel.removeAnnotation(Annotation annotation)
          Removes the given annotation from the model.
 Position IAnnotationModel.getPosition(Annotation annotation)
          Returns the position associated with the given annotation.
 String IAnnotationAccessExtension.getTypeLabel(Annotation annotation)
          Returns the label for the given annotation's type.
 int IAnnotationAccessExtension.getLayer(Annotation annotation)
          Returns the layer for given annotation.
 void IAnnotationAccessExtension.paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)
          Draws a graphical representation of the given annotation within the given bounds.
 Object IAnnotationAccess.getType(Annotation annotation)
          Deprecated. use Annotation.getType()
 boolean IAnnotationAccess.isMultiLine(Annotation annotation)
          Deprecated. assumed to always return true
 boolean IAnnotationAccess.isTemporary(Annotation annotation)
          Deprecated. use Annotation.isPersistent()
 void AnnotationModelEvent.annotationAdded(Annotation annotation)
          Adds the given annotation to the set of annotations that are reported as being added from the model.
 void AnnotationModelEvent.annotationRemoved(Annotation annotation)
          Adds the given annotation to the set of annotations that are reported as being removed from the model.
 void AnnotationModelEvent.annotationChanged(Annotation annotation)
          Adds the given annotation to the set of annotations that are reported as being changed from the model.
 void AnnotationModel.addAnnotation(Annotation annotation, Position position)
           
 void AnnotationModel.replaceAnnotations(Annotation[] annotationsToRemove, Map annotationsToAdd)
           
protected  void AnnotationModel.replaceAnnotations(Annotation[] annotationsToRemove, Map annotationsToAdd, boolean fireModelChanged)
          Replaces the given annotations in this model and if advised fires a model change event.
protected  void AnnotationModel.addAnnotation(Annotation annotation, Position position, boolean fireModelChanged)
          Adds the given annotation to this model.
 Position AnnotationModel.getPosition(Annotation annotation)
           
 void AnnotationModel.removeAnnotation(Annotation annotation)
           
protected  void AnnotationModel.removeAnnotation(Annotation annotation, boolean fireModelChanged)
          Removes the given annotation from the annotation model.
 void AnnotationModel.modifyAnnotation(Annotation annotation, Position position)
          Modifies the position associated with the given annotation to the given position.
protected  void AnnotationModel.modifyAnnotation(Annotation annotation, Position position, boolean fireModelChanged)
          Modifies the associated position of the given annotation to the given position.
 

Uses of Annotation in org.eclipse.ui.texteditor
 

Subclasses of Annotation in org.eclipse.ui.texteditor
 class DefaultAnnotation
          Deprecated. use Annotation and ImageUtilities, stay with layer definitions until new home found for them
 class DefaultRangeIndicator
          Specialized annotation to indicate a particular range of text lines.
 class MarkerAnnotation
          Annotation representing a marker on a resource in the workspace.
 

Methods in org.eclipse.ui.texteditor that return Annotation
protected  Annotation AbstractTextEditor.getRangeIndicator()
          Returns the editor's range indicator.
 

Methods in org.eclipse.ui.texteditor with parameters of type Annotation
 Image IAnnotationImageProvider.getManagedImage(Annotation annotation)
          Returns the image for the given annotation or null.
 String IAnnotationImageProvider.getImageDescriptorId(Annotation annotation)
          Returns the image descriptor id of the image for the given annotation.
protected  void AbstractTextEditor.setRangeIndicator(Annotation rangeIndicator)
          Sets the annotation which this editor uses to represent the highlight range if the editor is configured to show the entire document.
 Object DefaultMarkerAnnotationAccess.getType(Annotation annotation)
           
 boolean DefaultMarkerAnnotationAccess.isMultiLine(Annotation annotation)
           
 boolean DefaultMarkerAnnotationAccess.isTemporary(Annotation annotation)
           
 String DefaultMarkerAnnotationAccess.getTypeLabel(Annotation annotation)
           
 int DefaultMarkerAnnotationAccess.getLayer(Annotation annotation)
           
 void DefaultMarkerAnnotationAccess.paint(Annotation annotation, GC gc, Canvas canvas, Rectangle bounds)
           
 AnnotationPreference AnnotationPreferenceLookup.getAnnotationPreference(Annotation annotation)
          Returns the annotation preference of a given annotation.
 


Eclipse Platform
Pre-release 3.0

Copyright (c) IBM Corp. and others 2000, 2003. All Rights Reserved.